package com.michael.ims.app.config;

import com.michael.plugins.id.UUIDIdGenerator;
import com.michael.plugins.security.PasswordEncoder;
import com.michael.plugins.security.Pbkdf2PasswordEncoder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Import({UUIDIdGenerator.class})
@Configuration
public class SystemConfi {

    public static String CONTEXT_PATH = "/ims/api";
    @Bean
    public PasswordEncoder passwordEncoder() {
        return new Pbkdf2PasswordEncoder("michael");
    }


}
